package com.zzlzd.drp.config;

public enum ResultCode {
    /* 成功 */
    SUCCESS("200", "操作成功"),
    /* 失败 */
    FAIL("500", "请求失败"),

    TOKEN("100", "token失效"),;


    private String code;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    /**
     *
     * @param code
     * @param message
     */
    ResultCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

}
